package Model.States;

import Model.Task;


public class OldDirtyState extends PObjectState
{
    public void commit(PersistentObject obj)
    {
    	Task persistentobject=(Task)obj;
    	persistentobject.getDatainterface().insert(); 
    }

    public void remove(PersistentObject obj)
    {
    	Task persistentobject=(Task)obj;
    	persistentobject.getDatainterface().delete(); 
    }
}
